<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/index.css">
</head>

<body>
  <div class="custom-menu">
    <ul class="clearfix">
      <li class="new-window">新建窗口</li>
      <li><a class="goChrome" href="http://www.4399.com/">去4399</a> </li>
      <li class="setwindow clearfix">
        <button onclick="minWindow()">最小</button>
        <button onclick="maxWindow()">最大</button>
        <button onclick="closeWindow()">X</button>
      </li>
    </ul>
  </div>
  <h1>Hello Electron!!!!!</h1>
  <hr /><br />
  <hr /><br />
  <hr /><br />
  <button onclick="openFile()">打开文件</button>
  <button onclick="saveFile()">保存文件</button>
  <textarea></textarea>
  <hr /><br />
  <hr /><br />
  <hr /><br />
</body>
<script src="./js/index.js"></script>
</html>